import '@js/init.js'
import { userData } from '../utils/getData'
$('#registerBtn').click( async function () {
    let username = $('#username').val();
    let password = $('#password').val();
     let data = await  userData(username,password);
     if(data){
         alert('注册成功~')
     }
})